﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DormMS.Model;

namespace DormMS.IService
{
    public interface IDrawService
    {
        DrawReward Draw(int actId);

        /// <summary>
        /// 生成优惠券纪录表
        /// </summary>
        /// <param name="list"></param>
        /// <returns></returns>
        void CreateMemberCoupons(List<MemberCoupon> list);


        /// <summary>
        /// 获取所有抽奖
        /// </summary>
        /// <returns></returns>
        List<Model.Draw> GetDrawListAll();

        /// <summary>
        /// 抽奖
        /// </summary>
        /// <param name="actId"></param>
        /// <returns></returns>
        DrawReward Draw1(int actId);
    }
}
